from agno.agent import Agent
from agno.models.deepseek import DeepSeek
from agno.tools.crawl4ai import Crawl4aiTools

agent = Agent(
    model=DeepSeek(id="deepseek-chat"),
    tools=[Crawl4aiTools(max_length=None)],
    show_tool_calls=True,
)
# agent.print_response("Tell me about https://github.com/agno-agi/agno.")
agent.print_response(
    "告诉我这个页面的信息 https://www.guancha.cn/politics/2025_04_24_773507.shtml。",
    stream=True,
)
# agent.print_response(
#     "Tell me about https://www.guancha.cn/politics/2025_04_24_773507.shtml。",
#     stream=True,
# )
